package com.yuchen.ishop.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author Jack Q
 */
@Table("t_comments")
public class Comment implements Serializable {

    @Id
    private Long id;

    @Column("goods_id")
    private Long goodsId;

    @Column("order_id")
    private Long orderId;

    @Column("order_no")
    private String orderNo;

    @Column("buyer_id")
    private Long buyerId;

    @Column("buyer_name")
    private Long buyerName;

    @Column("content")
    private String content;

    @Column("score1")
    private Long score1;

    @Column("score2")
    private Long score2;

    @Column("score3")
    private Long score3;

    @Column("create_time")
    private Timestamp createTime;

    @Column("update_time")
    private Timestamp updateTime;

    @Column("state")
    private int state;

    @Column("again_content")
    private String againContent;

    @Column("again_time")
    private Timestamp againTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public Long getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(Long buyerName) {
        this.buyerName = buyerName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getScore1() {
        return score1;
    }

    public void setScore1(Long score1) {
        this.score1 = score1;
    }

    public Long getScore2() {
        return score2;
    }

    public void setScore2(Long score2) {
        this.score2 = score2;
    }

    public Long getScore3() {
        return score3;
    }

    public void setScore3(Long score3) {
        this.score3 = score3;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getAgainContent() {
        return againContent;
    }

    public void setAgainContent(String againContent) {
        this.againContent = againContent;
    }

    public Timestamp getAgainTime() {
        return againTime;
    }

    public void setAgainTime(Timestamp againTime) {
        this.againTime = againTime;
    }
}
